package com.order.rest;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Api(tags = "健康管理")
@RestController
@RequestMapping("/tOrder/health")
public class HealthRest {
    private Logger log = LoggerFactory.getLogger(getClass());
    @ApiOperation(value = "aliveness", httpMethod = "GET", notes = "可用")
    @GetMapping(value = "/aliveness")
    public void aliveness() {
        log.debug("aliveness");
    }

    @ApiOperation(value = "readiness", httpMethod = "GET", notes = "可用")
    @GetMapping(value = "/readiness")
    public void readiness() {
        log.debug("readiness");
    }
}
